{{--头部内容--}}
<div class="head">
    <div class="wrapper">
        {{--左侧app、微信链接--}}
        <div class="left">
            <div class="welcome">欢迎来到{{Site::get('webname')}}！</div>
        </div>
        {{--登录、注册按钮--}}
        <div class="logAndReg">
            <ul class="userNavCon" id="usernavcon"></ul>
        </div>
    </div>
</div>
{{--头部内容结束--}}
<script type="text/javascript">
    @if (Auth::guard("personal")->check())
    var personal_logininfo_name = "{{ Auth::guard("personal")->user()->username?:Auth::guard("personal")->user()->mobile }}";
    @else
    var personal_logininfo_name = '';
    @endif
    @if (Auth::guard("company")->check())
    var company_logininfo_name = "{{ Auth::guard("company")->user()->username }}";
    @else
    var company_logininfo_name = '';
    @endif

    //分站功能
    var mainAddress = "{{ mainUrl('/') }}";
    function mainUrl(linkUrl){
        return str_trim(mainAddress) + '/' + str_trim(linkUrl);
    }
</script>